package com.ecoolex.ying.space.pojo;

import com.alibaba.fastjson.JSON;
import com.ecoolex.framework.common.annotation.Description;
import org.springframework.lang.NonNull;

import java.math.BigDecimal;

@Description({"编辑商品"})
public class EditGoodsDTO {
    @Description({"商品名称"})
    @NonNull
    private String name;

    @Description({"品牌Id"})
    private Integer brandId;

    @Description({"分类Id"})
    private Integer classifyId;

    @Description({"标签Id列表"})
    private String[] labelIds;

    @Description({"商品编码"})
    private String coded;

    @Description({"商品条形码"})
    private String[] barCodes;

    @Description({"商品单位名称"})
    private String unit;

    @Description({"专柜价格"})
    private BigDecimal counterPrice;

    @Description({"零售价格"})
    private BigDecimal retailPrice;

    @Description({"价格币种"})
    private String currencyType;

    @Description({"商品展示图"})
    private String image;

    @Description({"橱窗图片列表"})
    private String[] shopwindowImages;

    @Description({"售后条款模板Id"})
    private Integer afterServiceId;

    @Description({"商品详情"})
    private String detail;

    @Description({"商品参数"})
    private EditGoodsParametersDTO parameters;

    @NonNull
    public String getName() {
        return name;
    }

    public EditGoodsDTO setName(@NonNull String name) {
        this.name = name;
        return this;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public EditGoodsDTO setBrandId(Integer brandId) {
        this.brandId = brandId;
        return this;
    }

    public Integer getClassifyId() {
        return classifyId;
    }

    public EditGoodsDTO setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
        return this;
    }

    public String[] getLabelIds() {
        return labelIds;
    }

    public EditGoodsDTO setLabelIds(String[] labelIds) {
        this.labelIds = labelIds;
        return this;
    }

    public String getCoded() {
        return coded;
    }

    public EditGoodsDTO setCoded(String coded) {
        this.coded = coded;
        return this;
    }

    public String[] getBarCodes() {
        return barCodes;
    }

    public EditGoodsDTO setBarCodes(String[] barCodes) {
        this.barCodes = barCodes;
        return this;
    }

    public String getUnit() {
        return unit;
    }

    public EditGoodsDTO setUnit(String unit) {
        this.unit = unit;
        return this;
    }

    public BigDecimal getCounterPrice() {
        return counterPrice;
    }

    public EditGoodsDTO setCounterPrice(BigDecimal counterPrice) {
        this.counterPrice = counterPrice;
        return this;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public EditGoodsDTO setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
        return this;
    }

    public String getCurrencyType() {
        return currencyType;
    }

    public EditGoodsDTO setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
        return this;
    }

    public String getImage() {
        return image;
    }

    public EditGoodsDTO setImage(String image) {
        this.image = image;
        return this;
    }

    public String[] getShopwindowImages() {
        return shopwindowImages;
    }

    public EditGoodsDTO setShopwindowImages(String[] shopwindowImages) {
        this.shopwindowImages = shopwindowImages;
        return this;
    }

    public Integer getAfterServiceId() {
        return afterServiceId;
    }

    public EditGoodsDTO setAfterServiceId(Integer afterServiceId) {
        this.afterServiceId = afterServiceId;
        return this;
    }

    public String getDetail() {
        return detail;
    }

    public EditGoodsDTO setDetail(String detail) {
        this.detail = detail;
        return this;
    }

    public EditGoodsParametersDTO getParameters() {
        return parameters;
    }

    public EditGoodsDTO setParameters(EditGoodsParametersDTO parameters) {
        this.parameters = parameters;
        return this;
    }
}
